package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by john on 2016/2/26.
 */
@Controller
@RequestMapping("login")
public class TestController {


    @RequestMapping("getUser")
    public ModelAndView login() {
        System.out.println("-----------------------");
        ModelAndView mv = new ModelAndView("login");
        System.out.println("aaaaaaaaaa");
        return mv;
    }

}
